package com.wanho.java157.ProductManagement.service;

import com.wanho.java157.ProductManagement.po.Orders;
import com.wanho.java157.ProductManagement.po.ProductInventory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersService {
    List<Orders> selectByStatus(@Param("STATUS")String status);
   boolean modifyStatusById( String status,Integer id);
    Orders selectById(Integer id);

    List<Orders> selectOrderByEmployee();
    List<Orders> selectOrderByCustomer();
    List<Orders> selectOrder(String field);

    boolean addSales(Orders orders);
}
